package com.ww.core.util.http;

import java.util.HashMap;

import android.content.Context;

public class RequestObject {
	
	public Context activity;
	public String uriAPI ; //服务器地址
	public HashMap<String, String> requestHashMap; //请求的HashMap
	
	private boolean showProgress = false;//是否显示进度
	private long maxSize = 0;//最大限制
	private String encoding = null;// 编码方式
	
	public RequestObject(Context a, String uriAPI,HashMap<String, String> map) {
		this.activity = a;
		this.uriAPI = uriAPI;
		this.requestHashMap = map;
	}
	
	public boolean isShowProgress() {
		return showProgress;
	}

	public void setShowProgress(boolean isShowProgress) {
		this.showProgress = isShowProgress;
	}

	public long getMaxSize() {
		return maxSize;
	}

	public void setMaxSize(long maxSize) {
		this.maxSize = maxSize;
	}

	public String getEncoding() {
		return encoding;
	}

	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}


}
